import {request} from '../request'

export const getvideobytype = (types,page_num,page_size) =>{
    const type_string = types.join(',')
    return request({
        url:`video/type/${page_num}/${page_size}`,
        method: 'get',
        params : {
            types:type_string
        }
      })
}

export const getvideo = (page_num,page_size) =>{
    return request({
        url: `video/${page_num}/${page_size}`,
        method: 'get',
      })
}   